Fault localization through evaluation sequences

نویسندگان

  • Zhenyu Zhang
  • Bo Jiang
  • Wing Kwong Chan
  • T. H. Tse
  • Xinming Wang
چکیده

Predicate-based statistical fault-localization techniques find fault-relevant predicates in a program by contrasting the statistics of the evaluation results of individual predicates between failed runs and successful runs. While short-circuit evaluations may occur in program executions, treating predicates as atomic units ignores this fact, masking out various types of useful statistics on dynamic program behavior. In this paper, we differentiate the short-circuit evaluations of individual predicates on individual program statements, producing one set of evaluation sequences per predicate. We then investigate experimentally the effectiveness of using these sequences to locate faults by comparing existing predicate-based techniques with and without such differentiation. We use both the Siemens program suite and four real-life UNIX utility programs as our subjects. The experimental results show that the proposed use of short-circuit evaluations can, on average, improve predicate-based statistical fault-localization techniques while incurring relatively small performance overhead. 2009 Elsevier Inc. All rights reserved.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fault Localization through Evaluation Sequences I , II

Predicate-based statistical fault-localization techniques find fault-relevant predicates in a program by contrasting the statistics of the evaluation results of individual predicates between failed runs and successful runs. While shortcircuit evaluations may occur in program executions, treating predicates as atomic units ignores this fact, masking out various types of useful statistics on dyna...

متن کامل

Quantitative Evaluation of the Lateral Sealing Ability of Normal Faults in Siliciclastic Sequences: Implication for Fault Trap in Well Gang 64, in the West Qikou Sag, China

The lateral sealing ability of a normal fault is a major factor in creating hydrocarbon traps. Therefore, a methodology for assessing the sealing ability of faults in the siliciclastic sequences of subsidence basins has been established; moreover, by using this methodology, the uncertainty inherent in hydrocarbon exploration can be decreased. Moreover, the petrophysical properties of fault roc...

متن کامل

Experimental Evaluation of Hybrid Algorithm in Spectrum based Fault Localization

During debugging process in software development cycle, fault localization is inevitable work. Diverse approaches have been proposed, such as program slicing, machine learning, and data mining for fault localization. In this paper we propose an effective hybrid fault localization algorithm based on a spectrum that enables fault detection in every statement. This algorithm distinguishes the loca...

متن کامل

A New Spectrum-based Fault Localization With the Technique of Test Case Optimization

Fault localization is an essential step for debugging, even though it is a still tedious and time-consuming activity. For decades, many researchers have tried to find a good way for more effective testing. We are also studying about fault localization via various method. Especially, we perform an empirical evaluation for existing 32 algorithms that are prominent in the domain of spectrum-based ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Journal of Systems and Software

دوره 83  شماره 

صفحات  -

تاریخ انتشار 2010